/*
 * @Author:
 * @Date: 2023-06-27 10:52:46
 * @LastEditors:
 * @LastEditTime: 2023-08-18 17:42:12
 * @FilePath: \immoka-admin\src\api\imperialSuit\index.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name} , All Rights Reserved.
 */
import request from '@/utils/request'

// 列表
export function suitList(query) {
    return request({
        url: '/admin/gift/suit/list',
        method: 'get',
        params: query
    })
}
// 帝王套保存
export function suitSave(query) {
    return request({
        url: '/admin/gift/suit/save',
        method: 'post',
        data: query
    })
}
// 帝王套删除
export function suitDelete(query) {
    return request({
        url: '/admin/gift/suit/delete',
        method: 'post',
        data: query
    })
}
// 帝王套详情列表
export function suitDetailList(query) {
    return request({
        url: '/admin/gift/suit/detail/list',
        method: 'get',
        params: query
    })
}
// 帝王套详情保存
export function suitDetailSave(query) {
    return request({
        url: '/admin/gift/suit/detail/save',
        method: 'post',
        data: query
    })
}
// 帝王套详情删除
export function suitDetailDelete(query) {
    return request({
        url: '/admin/gift/suit/detail/delete',
        method: 'post',
        data: query
    })
}
